<!DOCTYPE html>
<html>
<head>
    <title>{$detail['title']}</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
    <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
    <meta content="no-cache" http-equiv="pragma">
    <meta content="0" http-equiv="expires">
    <meta content="telephone=no, address=no" name="format-detection">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <link rel="stylesheet" media="screen" href="../addons/amouse_article/template/mobile/css/style.css?v=4" />
    <script src="../addons/amouse_article/template/mobile/js/jquery-1.9.1.js"></script>
    <script src="/addons/amouse_article/template/mobile/js/janguli.js"></script>
    <script src="/addons/amouse_article/template/mobile/js/basket.full.min-0.0.3.js"></script>
    <script src="/addons/amouse_article/template/mobile/js/plugin.js"></script>
    <link href="../addons/amouse_article/template/mobile/css/news.css?v=20150404" rel="stylesheet" type="text/css"/>
<body class="single_page">
<canvas class="fix" id="blur"></canvas>
<script type="text/javascript">
    var uin = "";
    var key = "";
    var pass_ticket = "";
    //全局变量
    gSound = '{$detail['musicurl']}';
</script>
<script type="text/javascript" src="../addons/amouse_article/template/mobile/js/weixin_new.js"></script>
<div id='audiocontainer'></div>
<div id="single" class="w bgf">
    <div id="s_wrapper">
        <div class="single-image">
            <div class="image_imgs rel oh">
                <div class="img_grid center oh">
                    <a target="_blank" class="left rel cf f30 db postimgs icon-search">
  <img class="db" width="300" height="199" src="{php echo strpos($detail['thumb'],'http://')===FALSE?($_W['attachurl'].$detail['thumb']):$detail['thumb']}"/></a>
                </div>
                <div class="abs mark"></div>
                <div class="abs shrink"></div>
            </div>

            <header class="s_header mt20 oh w900 center">
                <h2 class="f30 mb15 c3">{$detail['title']}</h2>
                <p class="f12 mr10 left tru ca0">
                    <span>post by
                        {if !empty($subscribeurl)}
                         <a href="{$subscribeurl}">
                             {if empty($detail['author'])}{$_W['account']['name']} {else}{$detail['author']}{/if}</a>
                        {else}
                        <a href="{$set['guanzhuUrl']}">
                            {if empty($detail['author'])}{$_W['account']['name']} {else}{$detail['author']}{/if}
                        </a>
                        {/if}
                        </span>&nbsp; // &nbsp;
                    <span>{php echo date('m月 d, Y', $detail['createtime'])} </span>
                </p>
            </header>

            <article class="s_article typo oh mt20 w900 center">
                {$detail['content']}
                <h5 data-wpview-pad="1"></h5>
            </article>

            <section class="postmore mt25 rel w900 center">
                <!--<a href="#" class="likeThis" id="like-3774"><span class="icon"></span>
                    <span class="count">{$detail['read_count']} Views</span>
                </a>-->

                <div class="social f18 mt10 right">

                <a title="获取二维码" class="wechat" href="javascript:;"></a>

                <!--<a href="javascript:void((function(s,d,e){try{}catch(e){}var f='http://v.t.sina.com.cn/share/share.php?',u=d.location.href,p=['url=',e(u),'&amp;title=',e(d.title),'&amp;appkey='].join('');function a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=620,height=450,left=',(s.width-620)/2,',top=',(s.height-450)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})(screen,document,encodeURIComponent));" rel="nofollow" id="sina-share" class="icon-uni35E0" title="分享到新浪微博"></a>

                <a href="javascript:void(0)" onclick="{ var _t = encodeURI(document.title);  var _url = encodeURI(window.location); var _site = encodeURI; var _pic = ''; var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&amp;url='+_url+'&amp;site='+_site+'&amp;pic='+_pic; window.open( _u,'转播到腾讯微博', 'width=700, height=580, top=180, left=320, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );};" rel="nofollow" id="tencent-share" class="icon-uni35E1" title="转播到腾讯微博"></a>

                <a href="javascript:window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+ encodeURIComponent(location.href)+ '&title='+encodeURIComponent(document.title),'qshare','width=570,height=520,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)" rel="nofollow" id="qqzone-share" class="icon-uni35F8" title="分享到QQ空间"></a>-->

            </div>

               <!-- <div class="abs hide" id="qrcode">
                    <img src="" />
                    <div class="f24 c3 abs icon-cross3"></div>
                </div>-->


               <!-- <nav class="nav rel mt20">
                    {php $id=$detail['id'];}
                    {php $pcate=$detail['pcate'];}
                    {data func="amouse_article_site_get_prev" id=$id pcate=$pcate return="true" assign="prev"}

                    {if empty($prev)}
                    {data func="amouse_article_site_get_last" pcate=$pcate return="true" assign="prev"}
                    {/if}

                    {data func="amouse_article_site_get_next" id=$id pcate=$pcate return="true" assign="next"}
                    {if empty($next)}
                    {data func="amouse_article_site_get_first" pcate=$pcate return="true" assign="next"}
                    {/if}
                    <a href="{$prev['url']}" rel="prev">{$prev['title']}</a>
                    <a href="{$next['url']}" rel="next">{$next['title']}</a>
                </nav>-->
                {data module="amouse_article" func="amouse_article_weixin_hot" return="true" assign="result"}
                {if !empty($result)}
                <div class="mod-main">
                    <div class="module" id="recommedmodule" style="display: block;">
                        <h3 class="title">热门账号推荐</h3>
                        <div class="account-list">
                            <ul>
                                {loop $result['list'] $row}
                                <li>
                                    <a href="{$row['guanzhuUrl']}">
                                        <div class="logo">
                                            <img src="{php echo strpos($row['thumb'],'http://')===FALSE?($_W['attachurl'].$row['thumb']):$row['thumb']}" height="50" width="50">
                                        </div>
                                        <div class="nick nowrap">{$row[title]}</div>
                                        <div class="arrow"><span>+关注</span></div>
                                    </a>
                                </li>
                                {/loop}
                            </ul>
                        </div>
                    </div>
                </div>
                {/if}

            </section>


            <footer class="mt20 pb5 w900 center">
                 <section class="related mt20 mb15  oh rel">
                  <!--  <h3 class="f16 c3 abs">热 门 文 章</h3>-->
                </section>
            </footer>

        </div>
    </div>
</div>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script language='javascript'>
    <?php
            $jssdk = new JSSDK();
    $signPackage = $jssdk->GetSignPackage();
    ?>
    wx.config({
        debug:false,
        appId: "{$_W['account']['appid_share']}",
        timestamp: {$signPackage["timestamp"]},
        nonceStr: '{$signPackage["nonceStr"]}',
        signature: '{$signPackage["signature"]}',
        jsApiList: [
            'onMenuShareTimeline','onMenuShareAppMessage','onMenuShareWeibo'
        ]
    });
    var shareMeta = {
        imgUrl:"{$shareimg}",
        link :  "{$url}",
        desc : "{$detail['title']}",
        title : "{$detail['title']}"
    };
    wx.ready(function(){
        wx.onMenuShareTimeline(shareMeta);
        wx.onMenuShareAppMessage(shareMeta);
        wx.onMenuShareWeibo(shareMeta);
    });
</script>